import type { App } from 'vue';
import {
    Form,
    Input,
    Button,
    Radio,
    RadioGroup,
    RadioButton,
    DatePicker,
    Modal,
    Table,
    Select,
    Cascader,
    Spin,
    ConfigProvider,
    Tabs,
} from 'ant-design-vue';
import dataV from '@iamzzg/data-view/dist/vue3/datav.map.vue.esm';

export default function registerGlobComp(app: App) {
    app.use(dataV)
        .use(Button)
        .use(Form)
        .use(Input)
        .use(Radio)
        .use(RadioGroup)
        .use(RadioButton)
        .use(DatePicker)
        .use(Modal)
        .use(Table)
        .use(Select)
        .use(Cascader)
        .use(Spin)
        .use(Tabs)
        .use(ConfigProvider);
}